package view.Backing;

import java.util.Comparator;


public class Comparador implements Comparator<String> {

    public int compare(String s1, String s2) {
        Integer i1 = new Integer(s1.substring(0, s1.indexOf(".")));
        Integer i2 = new Integer(s2.substring(0, s2.indexOf(".")));

        return i1.compareTo(i2);
    }
}
